import axios, { HttpResponse } from '@/api/interceptor';
import { LocaleData } from '@/api/locale/types';

export const selectPageOperationLog = async (params: any) => {
  const result = await axios({
    url: '/operationLog/listPage',
    method: 'GET',
    params,
  });
  return result.data;
};

export const statisOperationLog = async () => {
  const result = await axios({
    url: '/operationLog/statisticsLog',
    method: 'GET',
  });
  return result.data;
};
